package com.lan.springbootdruid;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author Lan
 * @description 取消spring自动注入数据源
 * @date 2019/5/6 15:55
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class SpringbootDruidApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootDruidApplication.class, args);
    }

}
